Skip to content

local_proc_mesh with sim channels #475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

thomasywang
Copy link
Contributor

Summary:
We want to instantiate local_proc_meshes that use ChannelTransport::SIm instead of ChannelTranport::Local so that the simulator can intercept and control the delivery of messages

Rollback Plan:

Differential Revision: D77941640

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 9, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77941640

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77941640

thomasywang added a commit to thomasywang/monarch-1 that referenced this pull request Jul 9, 2025
Summary:
Pull Request resolved: pytorch-labs#475

We want to instantiate local_proc_meshes that use ChannelTransport::SIm instead of ChannelTranport::Local so that the simulator can intercept and control the delivery of messages

To preserve to `allocate()` interface so that we can reuse existing test generation macros we will create a wrapper class for this around `LocalAlloc`

Differential Revision: D77941640
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77941640

thomasywang added a commit to thomasywang/monarch-1 that referenced this pull request Jul 9, 2025
Summary:
Pull Request resolved: pytorch-labs#475

We want to instantiate local_proc_meshes that use ChannelTransport::SIm instead of ChannelTranport::Local so that the simulator can intercept and control the delivery of messages

To preserve to `allocate()` interface so that we can reuse existing test generation macros we will create a wrapper class for this around `LocalAlloc`

Differential Revision: D77941640
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77941640

thomasywang added a commit to thomasywang/monarch-1 that referenced this pull request Jul 10, 2025
Summary:
Pull Request resolved: pytorch-labs#475

We want to instantiate local_proc_meshes that use ChannelTransport::SIm instead of ChannelTranport::Local so that the simulator can intercept and control the delivery of messages

To preserve to `allocate()` interface so that we can reuse existing test generation macros we will create a wrapper class for this around `LocalAlloc`

Differential Revision: D77941640
thomasywang added a commit to thomasywang/monarch-1 that referenced this pull request Jul 11, 2025
Summary:

We want to instantiate local_proc_meshes that use ChannelTransport::SIm instead of ChannelTranport::Local so that the simulator can intercept and control the delivery of messages

To preserve to `allocate()` interface so that we can reuse existing test generation macros we will create a wrapper class for this around `LocalAlloc`

Reviewed By: colin2328

Differential Revision: D77941640
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77941640

thomasywang added a commit to thomasywang/monarch-1 that referenced this pull request Jul 11, 2025
Summary:
Pull Request resolved: pytorch-labs#475

We want to instantiate local_proc_meshes that use ChannelTransport::SIm instead of ChannelTranport::Local so that the simulator can intercept and control the delivery of messages

To preserve to `allocate()` interface so that we can reuse existing test generation macros we will create a wrapper class for this around `LocalAlloc`

Reviewed By: colin2328

Differential Revision: D77941640
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77941640

thomasywang added a commit to thomasywang/monarch-1 that referenced this pull request Jul 11, 2025
Summary:
Pull Request resolved: pytorch-labs#475

We want to instantiate local_proc_meshes that use ChannelTransport::SIm instead of ChannelTranport::Local so that the simulator can intercept and control the delivery of messages

To preserve to `allocate()` interface so that we can reuse existing test generation macros we will create a wrapper class for this around `LocalAlloc`

Reviewed By: colin2328

Differential Revision: D77941640
Summary: The proxy was previously used since the simulator and the python were run in separate processes. Since both are now run in the same process we no longer need a proxy

Differential Revision: D77941641
thomasywang added a commit to thomasywang/monarch-1 that referenced this pull request Jul 11, 2025
Summary:

We want to instantiate local_proc_meshes that use ChannelTransport::SIm instead of ChannelTranport::Local so that the simulator can intercept and control the delivery of messages

To preserve to `allocate()` interface so that we can reuse existing test generation macros we will create a wrapper class for this around `LocalAlloc`

Reviewed By: colin2328

Differential Revision: D77941640
Summary:
Pull Request resolved: pytorch-labs#475

We want to instantiate local_proc_meshes that use ChannelTransport::SIm instead of ChannelTranport::Local so that the simulator can intercept and control the delivery of messages

To preserve to `allocate()` interface so that we can reuse existing test generation macros we will create a wrapper class for this around `LocalAlloc`

Reviewed By: colin2328

Differential Revision: D77941640
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77941640

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 4629a32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants